package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;

public interface VideoService {

    // 查询推荐视频分页
    PageBeanVo findRecommendVideoByPage(Long userId, Integer pageNum, Integer pageSize);

    // 发布视频
    void publishVideo(Video video);

    //根据主键查询视频
    Video findById(Object id);

}
